
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon font_family icon-customizing_binding"></i>
                    <div class="name">customizing_binding</div>
                    <div class="fontclass">.icon-customizing_binding</div>
                </li>
            
                <li>
                <i class="icon font_family icon-customizing_detectio"></i>
                    <div class="name">customizing_detectio</div>
                    <div class="fontclass">.icon-customizing_detectio</div>
                </li>
            
                <li>
                <i class="icon font_family icon-customizing_push"></i>
                    <div class="name">customizing_push</div>
                    <div class="fontclass">.icon-customizing_push</div>
                </li>
            
                <li>
                <i class="icon font_family icon-customizing_gps"></i>
                    <div class="name">customizing_gps</div>
                    <div class="fontclass">.icon-customizing_gps</div>
                </li>
            
                <li>
                <i class="icon font_family icon-customizing_Security"></i>
                    <div class="name">customizing_Security</div>
                    <div class="fontclass">.icon-customizing_Security</div>
                </li>
            
                <li>
                <i class="icon font_family icon-datadisplay"></i>
                    <div class="name">data display</div>
                    <div class="fontclass">.icon-datadisplay</div>
                </li>
            
                <li>
                <i class="icon font_family icon-fruit"></i>
                    <div class="name">fruit</div>
                    <div class="fontclass">.icon-fruit</div>
                </li>
            
                <li>
                <i class="icon font_family icon-drug"></i>
                    <div class="name">drug</div>
                    <div class="fontclass">.icon-drug</div>
                </li>
            
                <li>
                <i class="icon font_family icon-electronics"></i>
                    <div class="name">electronics</div>
                    <div class="fontclass">.icon-electronics</div>
                </li>
            
                <li>
                <i class="icon font_family icon-customizing_veriface"></i>
                    <div class="name">customizing_veriface</div>
                    <div class="fontclass">.icon-customizing_veriface</div>
                </li>
            
                <li>
                <i class="icon font_family icon-customizing_qrcode"></i>
                    <div class="name">customizing_qrcode</div>
                    <div class="fontclass">.icon-customizing_qrcode</div>
                </li>
            
                <li>
                <i class="icon font_family icon-daily_use"></i>
                    <div class="name">daily_use</div>
                    <div class="fontclass">.icon-daily_use</div>
                </li>
            
                <li>
                <i class="icon font_family icon-fresh"></i>
                    <div class="name">fresh</div>
                    <div class="fontclass">.icon-fresh</div>
                </li>
            
                <li>
                <i class="icon font_family icon-drink"></i>
                    <div class="name">drink</div>
                    <div class="fontclass">.icon-drink</div>
                </li>
            
                <li>
                <i class="icon font_family icon-ipad"></i>
                    <div class="name">ipad</div>
                    <div class="fontclass">.icon-ipad</div>
                </li>
            
                <li>
                <i class="icon font_family icon-jewelry"></i>
                    <div class="name">jewelry</div>
                    <div class="fontclass">.icon-jewelry</div>
                </li>
            
                <li>
                <i class="icon font_family icon-maintenance_report"></i>
                    <div class="name">maintenance_report</div>
                    <div class="fontclass">.icon-maintenance_report</div>
                </li>
            
                <li>
                <i class="icon font_family icon-diagnose"></i>
                    <div class="name">diagnose</div>
                    <div class="fontclass">.icon-diagnose</div>
                </li>
            
                <li>
                <i class="icon font_family icon-meat"></i>
                    <div class="name">meat</div>
                    <div class="fontclass">.icon-meat</div>
                </li>
            
                <li>
                <i class="icon font_family icon-long_distance"></i>
                    <div class="name">long_distance</div>
                    <div class="fontclass">.icon-long_distance</div>
                </li>
            
                <li>
                <i class="icon font_family icon-precious_gift"></i>
                    <div class="name">precious_gift</div>
                    <div class="fontclass">.icon-precious_gift</div>
                </li>
            
                <li>
                <i class="icon font_family icon-repertory"></i>
                    <div class="name">repertory</div>
                    <div class="fontclass">.icon-repertory</div>
                </li>
            
                <li>
                <i class="icon font_family icon-platform"></i>
                    <div class="name">platform</div>
                    <div class="fontclass">.icon-platform</div>
                </li>
            
                <li>
                <i class="icon font_family icon-restart"></i>
                    <div class="name">restart</div>
                    <div class="fontclass">.icon-restart</div>
                </li>
            
                <li>
                <i class="icon font_family icon-smallphone"></i>
                    <div class="name">smallphone</div>
                    <div class="fontclass">.icon-smallphone</div>
                </li>
            
                <li>
                <i class="icon font_family icon-snacks"></i>
                    <div class="name">snacks</div>
                    <div class="fontclass">.icon-snacks</div>
                </li>
            
                <li>
                <i class="icon font_family icon-stability"></i>
                    <div class="name">stability</div>
                    <div class="fontclass">.icon-stability</div>
                </li>
            
                <li>
                <i class="icon font_family icon-logo"></i>
                    <div class="name">logo</div>
                    <div class="fontclass">.icon-logo</div>
                </li>
            
                <li>
                <i class="icon font_family icon-security"></i>
                    <div class="name">security</div>
                    <div class="fontclass">.icon-security</div>
                </li>
            
                <li>
                <i class="icon font_family icon-support_analyze"></i>
                    <div class="name">support_analyze</div>
                    <div class="fontclass">.icon-support_analyze</div>
                </li>
            
                <li>
                <i class="icon font_family icon-support_download"></i>
                    <div class="name">support_download</div>
                    <div class="fontclass">.icon-support_download</div>
                </li>
            
                <li>
                <i class="icon font_family icon-support_monitoring"></i>
                    <div class="name">support_monitoring</div>
                    <div class="fontclass">.icon-support_monitoring</div>
                </li>
            
                <li>
                <i class="icon font_family icon-support_solution"></i>
                    <div class="name">support_solution</div>
                    <div class="fontclass">.icon-support_solution</div>
                </li>
            
                <li>
                <i class="icon font_family icon-support_upgrade"></i>
                    <div class="name">support_upgrade</div>
                    <div class="fontclass">.icon-support_upgrade</div>
                </li>
            
                <li>
                <i class="icon font_family icon-btn_enquiry"></i>
                    <div class="name">btn_enquiry</div>
                    <div class="fontclass">.icon-btn_enquiry</div>
                </li>
            
                <li>
                <i class="icon font_family icon-vegetables"></i>
                    <div class="name">vegetables</div>
                    <div class="fontclass">.icon-vegetables</div>
                </li>
            
                <li>
                <i class="icon font_family icon-support_train"></i>
                    <div class="name">support_train</div>
                    <div class="fontclass">.icon-support_train</div>
                </li>
            
                <li>
                <i class="icon font_family icon-btn_phone"></i>
                    <div class="name">btn_phone</div>
                    <div class="fontclass">.icon-btn_phone</div>
                </li>
            
                <li>
                <i class="icon font_family icon-transactiondetail"></i>
                    <div class="name">transaction detail</div>
                    <div class="fontclass">.icon-transactiondetail</div>
                </li>
            
                <li>
                <i class="icon font_family icon-advertisement"></i>
                    <div class="name">advertisement</div>
                    <div class="fontclass">.icon-advertisement</div>
                </li>
            
                <li>
                <i class="icon font_family icon-support_vedio"></i>
                    <div class="name">support_vedio</div>
                    <div class="fontclass">.icon-support_vedio</div>
                </li>
            
                <li>
                <i class="icon font_family icon-aisle_manage"></i>
                    <div class="name">aisle_manage</div>
                    <div class="fontclass">.icon-aisle_manage</div>
                </li>
            
                <li>
                <i class="icon font_family icon-btn_qrcode"></i>
                    <div class="name">btn_qrcode</div>
                    <div class="fontclass">.icon-btn_qrcode</div>
                </li>
            
                <li>
                <i class="icon font_family icon-close_aisle"></i>
                    <div class="name">close_aisle</div>
                    <div class="fontclass">.icon-close_aisle</div>
                </li>
            
                <li>
                <i class="icon font_family icon-compatibility"></i>
                    <div class="name">compatibility</div>
                    <div class="fontclass">.icon-compatibility</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">font_family</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"font_family"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
